import AppMain from '@/views/layout/components/AppMain.vue'
const systemModule = {
    name: 'system',
    path: '/system',
    component: AppMain,
    redirect: '/system/userList',
    meta: {
        order: 1,
        type: 'submenu',
        label: '用户管理',
        icon: 'menu'
    },
    children: [
        {
            name: 'UserList',
            path: 'userList',
            component: () => import('../../views/system/userList.vue'),
            meta: {
                type: 'item',
                label: '用户信息',
                icon: 'role'
            }
        },
        {
            name: 'RoleList',
            path: 'roleList',
            component: () => import('../../views/system/roleList.vue'),
            meta: {
                type: 'item',
                label: '角色管理',
                icon: 'user'
            }
        },
    ]
}

export default systemModule
